<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateConfigTables extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('config', function (Blueprint $table) {
           
            $table->increments('id');
            $table->tinyInteger('open') -> default(1);
            $table->string('title');
            $table->string('logo') -> default(null);
            $table->string('keywords') -> default(null);
            $table->string('discription') -> default(null);
            $table->string('copyright') -> default(null);
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
         Schema::drop('config');
    }
}
